package com.charlotte.study.gupao.prototype.common;

/**
 * @author junjie.ding
 * @date 2020/3/2
 */
public class main {
    public static void main(String[] args) {
        ConcretePrototype prototype = new ConcretePrototype();
        prototype.setName("zhangsan");
        prototype.setAge(18);

        ConcretePrototype clone = prototype.clone();

        System.out.println(prototype);
        System.out.println(clone);
    }
}
